import { axios } from '@/libs/util'

 
export const SearchWord = reqData => {
  return axios.post('api/Work/SearchWord',reqData)
}
export const AddWord = reqData => {
  return axios.post('api/Work/AddWord',reqData)
}
export const DeleteWord = id => {
  return axios.delete('api/Work/DeleteWord/'+id)
}

export const SearchOpinion = reqData => {
  return axios.post('api/Work/SearchOpinion',reqData)
}
 
export const DeleteOpinion = id => {
  return axios.delete('api/Work/Opinion/'+id)
}

export const GetCheckOnWorkRule = () => {
  return axios.get('api/Work/GetCheckOnWorkRule')
}
 
export const ChengeheckOnWorkRule = id => {
  return axios.post('api/Work/ChengeheckOnWorkRule/'+id)
}
export const SearchCheckOnWorkSta = reqData => {
  return axios.post('api/Work/SearchCheckOnWorkSta',reqData)
}

export const SearchCheckOnWork = reqData => {
  return axios.post('api/Work/SearchCheckOnWork',reqData)
}


export const SearchProjectReport = reqData => {
  return axios.post('api/Work/SearchProjectReport',reqData)
}
export const AddProjectReport = reqData => {
  return axios.post('api/Work/AddProjectReport',reqData)
}
export const DeleteProjectReport = id => {
  return axios.delete('api/Work/DeleteProjectReport/'+id)
}

export const SearchPhotoGroup = reqData => {
  return axios.post('api/Work/SearchPhotoGroup',reqData)
}

export const AddPhotoGroup = reqData => {
  return axios.post('api/Work/AddPhotoGroup',reqData)
}


export const SearchPhoto = reqData => {
  return axios.post('api/Work/SearchPhoto',reqData)
}

export const AddPhoto = reqData => {
  return axios.post('api/Work/AddPhoto',reqData)
}

export const DeletePhoto = id => {
  return axios.delete('api/Work/DeletePhoto/'+id)
}


